projects
/
pocl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04e9133
)
[PATCH 75/90] be more verbose on pthread errors
author
Andreas Beckmann
<anbe@debian.org>
Fri, 3 Dec 2021 18:28:10 +0000
(19:28 +0100)
committer
Andreas Beckmann
<anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000
(23:55 +0000)
Gbp-Pq: Name 0075-be-more-verbose-on-pthread-errors.patch
lib/CL/pocl_util.c
patch
|
blob
|
history
diff --git
a/lib/CL/pocl_util.c
b/lib/CL/pocl_util.c
index 5ec92a936eea962e696b03a2f3be0e114bb402a5..95a841110da23d34153b9d00bf001b88802e1928 100644
(file)
--- a/
lib/CL/pocl_util.c
+++ b/
lib/CL/pocl_util.c
@@
-1629,8
+1629,8
@@
pocl_abort_on_pthread_error (int status, unsigned line, const char *func)
{
if (status != 0)
{
- POCL_MSG_PRINT2 (
HSA
, func, line, "Error from pthread call:\n");
- POCL_ABORT ("
%s\n", strerror (status)
);
+ POCL_MSG_PRINT2 (
ERROR
, func, line, "Error from pthread call:\n");
+ POCL_ABORT ("
PTHREAD ERROR in %s():%u: %s (%d)\n", func, line, strerror (status), status
);
}
}